import baseUrl from '../baseUrl';
export default {
    //某一模块的待办、进行、历史
    getmytasklist: baseUrl + '/workflow/todoBusinessIds/',
    getprocessinglist: baseUrl + '/workflow/completed/business/',
    getfinishedlist: baseUrl + '/workflow/historyBusinessIds/',

    //获取评论
    getcomment: baseUrl + '/workflow/comment/',

    //这个流程有几个节点，都是什么
    getstage: baseUrl + '/workflow/definition',
    //查看这个流程现在在第几个节点
    getcurrentstage: baseUrl + '/workflow/execution/current/',
    //查询流程实例和流程对象
    getworkflow: baseUrl + '/workflow/procinfo/',

    //流程发起/通过/拒绝
    starttask: baseUrl + '/workflow/starttask',
    approve: baseUrl + '/workflow/approve',
    disapprove: baseUrl + '/workflow/disapprove',

    //判断是否首次发起审批
    isfirsttime: baseUrl + '/workflow/firsttime',

    //"我的待办"
    getTodoList: baseUrl + '/workflow/runtimeTaskListView/',

    // 根据流程实例id获取流程涉及到的角色，用于发布公告
    getRoleByRuningInfo: baseUrl + '/workflow/procroleinfo/'
};